package com.example.DTO;
public class Register {
    private String nickname;         // 昵称
    private String password;         // 密码
    private String confirmPassword;  // 确认密码
    private String phone;            // 手机号

    public Register(String nickname, String password, String confirmPassword, String phone) {
        this.nickname = nickname;
        this.password = password;
        this.confirmPassword = confirmPassword;
        this.phone = phone;
    }

    public Register() {
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
